import { request } from "@/utils/http";

export interface RoleDto {
  id: string;
  name: string;
  title: string;
}

export function getRoles() {
  return request.get<RoleDto[]>("/role");
}
